package com.dstz.demo.utils;

import java.util.ArrayList;
import java.util.List;

public class BaseTreeObj {
    private static final long serialVersionUID = 1L;
    private String id;
    private String parentId;
    private String name;
    private List<BaseTreeObj> childsList = new ArrayList<>();

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<BaseTreeObj> getChildsList() {
        return childsList;
    }

    public void setChildsList(List<BaseTreeObj> childsList) {
        this.childsList = childsList;
    }
}